package com.springsummer.information.green.webmvc;

public interface HandlerMappingRegistry {

    void registryHandler(String urlPath, HandlerMethodInfo handlerMethod);

    boolean containsHandler(String url);

    HandlerMethodInfo findHandlerMethod(String url);

    //建立URL与调用方法和实例的映射关系，存储在mappingRegistry中
    void initMapping(String[] controllerNames) throws Exception;

}
